package com.fuyao.cloud.admin.flow.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fuyao.cloud.admin.flow.model.ModelInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 */
@Mapper
public interface IModelInfoMapper extends BaseMapper<ModelInfo> {

    /**
     * 分页查询模型列表
     * @param page 分页
     * @param modelInfo 参数
     * @return
     */
    IPage<ModelInfo> getPagerModel(IPage<ModelInfo> page, @Param("modelInfo") ModelInfo modelInfo);


    ModelInfo getModelInfoByModelKey(@Param("modelKey")String modelKey);
}
